[{prefix, <<"pubsub#">>},
 {decode, [{<<"pubsub#children_max">>, {xmpp_util, decode_limit, []}},
	   {<<"pubsub#item_expire">>, {xmpp_util, decode_limit, []}},
	   {<<"pubsub#max_items">>, {xmpp_util, decode_limit, []}},
	   {<<"pubsub#max_payload_size">>, {dec_int, [0,infinity]}}]},
 {encode, [{<<"pubsub#children_max">>, {xmpp_util, encode_limit, []}},
	   {<<"pubsub#item_expire">>, {xmpp_util, encode_limit, []}},
	   {<<"pubsub#max_items">>, {xmpp_util, encode_limit, []}}]},
 {specs, [{<<"pubsub#children_max">>, "xmpp_util:limit()"},
	  {<<"pubsub#item_expire">>, "xmpp_util:limit()"},
	  {<<"pubsub#max_items">>, "xmpp_util:limit()"}]}].

%% Local Variables:
%% mode: erlang
%% End:
%% vim: set filetype=erlang tabstop=8:
